Setup gamestates + manager and gameloop.