Put the complex sub page query into a separate class, via a query handler.