added invoke-query

Can now get result sets back