RestServer with the new database. NOT COMPLETE