add option to set the config file, search it on multiple paths by default, also use configs from env variables, document precedence and file paths