move load_textures into texture.{c,h}