This is a collection of boilerplate code that you'll need to create a CORD compliant service.
If you are looking a tutorial, you can find it here