Add texture loading from files

Closes #44.