implement reading config from config module