added baseclass for python dir plugins