added event emitting for the hq server
0.1.2