Add a config mechanism