Add action manager processor

This PR introduces an initial implementation of the processor, which is the core of the aciton manager.
Targets #235.
Why would you want an invalid value from the stack? Maybe add some more information here why it can be useful.