moved Query method to command level
reworked tuple mapping to rely in position instead of table name