Added token matcher factory functions to make defining a command more readable. As usual, put is the proof of concept command. Put is now an example of how all commands should be implemented, and others will eventually follow suite.