implemented simple sinatra server to run the game