Added classes for gesture handling