Minor refactoring

* include QUIT in command module
* refactor method names
* update documentation