create_service function

Prepares and publishes a service on the back-end