Encapsulate query and nu into Search class.