add EAB class and GetRidAndGeomFromSqlTable function