Added config object
Removed distDir from config property and made it a command line arg