implemented REST routes and CRUD shortcuts