adding table, connector and query objects
changes in connector