Added infrastructure to start this component as windows service or linux daemon