refactored main file. moved physics code to extra class, now easier to use. also added a camera to view the scene (although quite buggy)