Texture class now inherits from CachedAsset.
Also removed Terrain class, 'cause it's stupid.