Querier uses variables in config.php and create db object in header after checking if config file exists