updated to use geotools9.0, refactored deprecated usages of the API