Add action manager processor

This PR introduces an initial implementation of the processor, which is the core of the aciton manager.
Targets #235.
You deinitialize here, but shouldn't be the values be initialized to `nil` afterwards? That's what you do when growing the stack, so I assume you should do it here, too, right?