moved Materials creation/manipulation to a separate class