refactor crud to service