added basic support for callbacks, moved stuff to do with exec to execAction object