Added simple material class.