added clasmap and abstracted out creating hydratedresultset