with egit
Updated main to include game loop.