Start adding in service layer for restful access.