I have read the tutorial Linux Daemon Writing HOWTO and Creating a Daemon Process in C Language with an Example Program.
What I want to do is have a service that is available to be called via the terminal at any point. This is simply a binary application that exists in the system PATH.
But I want the memory to be conserved on subsequent calls. Upon bootup, I want myService to be called and initialized. I'll call this via myService init. Later on, I should be able to call myService doThis or myService doThat, but the memory should always be conserved. 
How do I do this?