implemented a atlas class to load "new style textures"