whole bunch of reorganizing & switched from process.cwd, to a centralized config for the root_dir