wrapper for speech recognition
some cleanup and added some functions for speech recognition
Add basic support for speech recognition