Condensed model/texture handling into one class