Separate demo

Separate files of the demo project from plugin files.