add routes and Schema