added base texture class, untested (and used)so far