Refactoring
Support texture loading