Broke out game loop, writing new game class for sinatra app