new base class for freesurfer plugins