configured routes
added CRUD functionality to controllers