Console Application Converted to a service