Added a config, and support for a local config, and started to use it to replace environment variables