Decommission

This PR implements the graceful-stop command.

why not use a enum?