added 'target' commandline argument to base type
Since all the generators currently operate from the current working directory except when an outfile is specified, it is sufficient to simply change the working directory based on the new 'target' option.
Closes #182 (closed)