Add support for reading/saving config file