Worked around to use topshelf service framework. Runs as a service but a bit buggy.  Uggly and needs work anyway.