created query.php scripts to construct Query object.
Query object can connect to a database.
use the new query scripts to construct Query object. and use the connect method.