Changed the number of search queries

* Time window is 15 mins
Modularized the trials

* Made every functionality as a separate static function
Changed the time window

* Changed the time window to 15 mins instead of 60