Added implementation for material class. Not finished, yet.