Extending the Session class in order to define a default database and the Query class in order to define a default namespace