Separated javascript and html to game.js and index.html. Added some
classes and main game loop to game.js.