Stubbed out Material class
Changed code to support usage of material