Created the inter process event emitter
Fixing some issues
Altered some code to connect to the exisiting pipe