created texture class (almost)