began moving rest api logic into the service instead of the controller. worked on drag and drop sortable