Created crude game engine and game loop