split utils into separate modules
removing EventEmitter; fix jshint