Added config file, and minor code changes