Refactored Router into a class that inherits from EventEmitter.
Merge branch 'EventEmitter' of https://github.com/dvazquez1027/vlerdas-ecrud into EventEmitter