Add CTexture class