Switched to the gamvas game engine

Made som adjustments to the physics engine