Simplified query class, allow calling complex queries as will be required for final project.