added service and integration tests for service
moved