Added support for config file being loaded from YAML file. FIX #4