organise commands into categories (thanks to tphyahoo from Freenode IRC)