added configurable plugin directory
added configurable moduledir