so i misunderstood how the daemon was working, I've reshuffled a few things and added the library to the apps.lib folder and can use the daemon to call the start_server function. Ill look at the template some more and see how how i go.
thanks
thanks