The Loop Theory