Code refactor, added a new base class for all the services
Merge pull request #8 from gnuman/code-refactor-pull-request

Code refactor, added a new base class for all the services