a little bit of house keeping. also added a Q method for quick query
building with table name