Yank out plugin code into different files