changed to use nodejs events
Oops. router now allows more than 10 listeners