service and controller changes

added HATEOS paging resources
restructured service layer to use interfaces