Reorganized code

Removed unnecessary lines
Adding loading ticker

Add a loading ticker using PreloadJS
Moved constants and box2d namespace

Moved to separate file