Add event and external loadable python module