change rest of rails way controllers to services