Identify back-end queries.
Encapsulate back-end queries.
Create back-end test suite (showplan, stat io, and stat time wrappers).