split config.py and parser.py into two modules. updated all files to use the