Added rest apis for CRUD operations