code for new extension to geoserver