Create queryFunctions.php