Now have working select queries and parameterization (to be used for simple sub instances soon)