<p>Any links to a good template for a windows service?  (looking for C# code)</p>

<p>Something that has the basic functionality that I could extend.</p>

It is a little clear what you are looking for.  The
Windows Service
project type in Visual Studio creates a project with the templates you need to get going with a basic windows service.
You can also look at
this article
from C# Online.  It goes over a few ideas and has a few parts to the article.
(Note; the page seems to loads a little slow so be patient)