Added command categories

Added a category field to commands. Changed help printing to list commands by category and prettify the output a little bit.