Fixed bug where material values were being read incorrectly.
Added texture detection code, and texture folder (for easily managing
textures)