Refactoring of characters atlas loading