Fixed Errors. And inserted new ShareEvent
Implemented JSON support.