a class factory and dsl for generating command line programs real quick