Moved texture array class into a single file.