made the whole thing command-line driven.  revealed a weakness in my design to make everything templates.  gotta add some interfaces in here somewhere.