Added basic architecture for supporting textures