Create Query class. Create Query tests.