using yaml config

removed command line args, and added a yaml config file for all configurable options.