Changed command line to specify a config file.
Fixed problem where empty directories were not being created and kept showing up on successive runs of the tool.
Changed config file format from imported python file to json.
Added preferred side support to config file.