Helper class for unit tests
Refactor atlas calculation and rendering into distinct concerns
TextureAtlasRenderer implementation