added double-tap, encoded gestures, removed drawing gestures
added double tap, gestures encoding