Revert " PPA-81 move the plugin code into our codebase"

This reverts commit 5def22f6a48716e0a5b28dc63baa4bc6e5b79bdf.
Fix trouble confict with plugins