Added first vestiges of custom back-end query execution - mostly to
fulfil unit-test requirements