fixed config file issues and migrated away from config.xml