How can I run my (Im using C) program as a service so it runs in the background? Is there code to do it?