Changed output hashes.

Changed to where instead of regex, command the hashes now have
regex, command, args. Command is now the raw string instead of a curried lambda
(despite it being cool, I think it is better to have the handling of the commands
in a different library).

Currently uses first space-seperated word as the command, subsequent ones as args.

Realized I was using naive split, need to fix it to understand quotes, will fix it next commit.