Add migration script and tests
Merge pull request #5 from GregSutcliffe/plugins

Add migration script