service state implementation
Merge pull request #4 from RoProducts/state_issue

service state implementation