add config module (not finished)