Complete functionality for stop, start, restart.

Still needs some better error handling. Maybe some feedback when something
doesn't work.