add selection callback, recognizers property and refactoring the code
Merge pull request #3 from voxsim/master

add selection callback, recognizers property and refactoring the code