Preparing texture loading refacto