move plugin framework to libmscore