Adding the service layer for the Entity CRUD.
Adding the Controller layer and the JSON code for Entity.