attach plugin-dirs array to object insted of class. refs #45
method for adding more plugin-dirs. refs #45