Started added support for config file.