Further developed the gameloop and experimented with coffeescript