added emitting reset on disconnect event
added package.json