Implemented a MaterialComponent and began working on automated material loading