insertPreambularBefore; some refactoring
refactor of operative adding to match preambular adding
insertOperativeBefore
make res-manipulation functions also modify the global res object