Add __init__ and url rules to events package
Migrate old code from defunct branch
Change events module to use new json spec