designing classloader-based gretty plugin