added some extra checks and added the ability to use a specified class for result_set output
added some extra checks and added the ability to use a specified class for result_set output


thomasw/cyte,thomasw/cyte