Connected textures

Added base classes for connected textures.