Removing dependency on custom built sql access layer and using ibatis instead.