moved code from get/write action to the controller and added setters/getters for required and optional attributes
updated service configuration
updated service configuration