add cmdline support for log_dir
Allow parser from any reachable module
Allow module to come from anywhere
Add log dir option