feat: Query class for constructing queries to send to a repo