converted to service, added configuration