MIFOSX-237: use of jdbcTemplate and SqlRowSet along with refactoring as a result of these changes.