use Di's scope and namespace features.

set Query to be shared within the same namespace.