Massive Refacto -WIP-
Removed insecure and autopublish package
Added Events and Badges publication/subscription
Started implementing Events allow/deny policies