Adds a TextureBucket class to manage textures