Classes for my gesture algorithms