Create StatsQuery.php

Stats query page