change direction of plugins and seperate plugins to system and defined plugins