moving all "plugin" things to plugins