Add action manager processor

This PR introduces an initial implementation of the processor, which is the core of the aciton manager.
Targets #235.
Would be shorter if the if wouldn't use an early return and you would set the members if the reallocation succeeded. _duckandrun_