made the loading of the textures happen during startup