added config_txt and functions_txt to Conf() for easier read. cleaned up config.R and functions.R for 2012 and 2013 scenarios.