started implementing texture loading and saving functionality