Also renamed `pool` variables throughout codebase to `db` for clarity.
And modify signature of model methods to accept an executor instead of a pool connection which will also allow transactions.