Finish the server, mongo connection, and client base code