rewrote the custom commands section

Also added new commands introduced by #90, #91 and #92.
Merge pull request #94 from berendt/rewrite_custom_commands

rewrote the custom commands section