fixed typo in naming of Results.php, added whereRelatedTo query, and fixed issues with class variables in Query.php