Add simple cfg class. Just need to implement build_cfg now and the printing should work.