Seperate the pluginDir and extraDir from the path manager (#252)