create command options from a dict
refactor, normalize
use nested context from contextlib
use path.join instead of string concat
place back original comments
fix bug where reducer would skip the last run
unpack tuples for mapping unless this is the first step
refactor directory-handling code
Merge pull request #3 from escherba/pf_aug27

refactor