Refactor scaffold

All files needed for scaffolding are now in the plugins resource folder. This makes the code more scalable and simpler as it just a matter of adding files instead of creating more code.