implemented restart and stop, improved start and status of the provider

TODO: better tests for status to highlight the broken shell implementation
Looks good. We will try it out. Added more test cases.