Sanity check refactoring of the activate() method in the direct manipulation extension. Suboptimal, further refactoring is required.
Refactored the switch/case statements
Store active recognizers lookup dict in controller