switched to common action handler
maybe I should change all actions to  state  machines? 
this may  give them  nice coherent looks,
and also places like setResponseVisitor should look nicer.
Action handler is unefficient because it is blocking waiting for all
mediums to finich after flush
this also should be addressed at some point