moved application subclass code to own service for #84
Added autostart preference for #84