sharing the init functions
pre package install command
support for removing listeners and pattern engines on uninstall
fixing a bad array attribute