Reordered command definitions to match the string.
Refactored the help message code.

The usage function now just prints the docstrings of all the commands;
the help_text variable has been split up among these docstrings. This is
better since it keeps the relevant documentation near the thing it
documents.