geoserver extension tutorial remade with scala