add cmds to start, stop and get service state
bug fix
Merge pull request #1 from Runnable/api_server_integration

api_server_integration