Support mainConfigFile option
Merge pull request #5 from dfournier/support_main_config_file_option

Support mainConfigFile option