implemented migration into base controller
moved migration to be as part of the database itself, to allow for migrations across multiple databases
Merge branch 'dev' into base-build