Added texture class.