A start design of the 'queries' module.