Create Query.php

main class query