Decouple speech recognizer

Move the Speech Recognition code to a service.