Implemented basic Input, game-loop and framerater.