Add action manager processor

This PR introduces an initial implementation of the processor, which is the core of the aciton manager.
Targets #235.
As this is a file-local function, please remove the `ws_` prefix.