Add texture loading from files

Closes #44.
Add lazy initialization for void functions