added new events emitter and moved path off the constructor