Add Q-promises and EventEmitter2 as project dependencies
Fix file formatting