Add event logging
Restore latest versions of Apotomo