remove pimple dependency, move code to add plugin to model into model