initial texture loader code, and move program into Shader child class