write major part of code. now functional
add default outdir to help, fix args for -b and -h