Finished creating a simple query creator