removed refactoring artifacts
switched from error code in excep in reactor
factored context creation out of reactor