New config class architeture
Really big change with Config and Resource classes