Moved Connection to service