Added classes Materials, Material and Layer.