Implemented generic routing functionality for CRUD.