Implementing CRUD operations via REST