made a bunch of refactorings, added mongo, fleshed out the new routes, modified the data structures to reflect matchmaking needs