Add context for the action manager
Add proper (de)initialization for action manager
Add transaction registration
Add handling of events
Add preliminary registration function