move a service to external file