Refactors Geoserver class to use a single centralized resource object, like Geonetwork.