Separated the execution of commands from their declaration.

* Added a SlopCommand helper class.