finished chapter 2: creating RESTful service for CRUD tasks