add executeQurey which returns result set metadata and rows as array