Initial import of utility functions and EventEmitter class