Move event_emitter to shared/js
Make search depending on the implementations
Refactor SMS app and write tests