Changed db to use hosted mongo database, added base client code.