Reworked the command system to be easier to add commands. Also more efficient.

Signed-off-by: Jake Drake <tacodrake95@yahoo.com>