first commit. Basic functionality (gameloop, input, collision detection).