Port createPlayer and requestGame to use mongodb