Adding system configuration model and api (not complete)