Texture refactoring

BIG upgrade to texture interface in all layers of abstraction.