updated config file code to check for config.cfg on init
added commented out code to appy.py to generate a stub config.cfg file