a brief genericizing
Merge pull request #1 from nickhudkins/master

Let's decouple a bit. If we can simply provide a "command map" we can make that a data problem rather than a code problem.