Switched database backend

switched from mongodb to mysql