Removed old plugin files, fixed a bug in the scaffolding entry point