Move chainable query into its own class.
1.0.1