Migrations

Sequelize migrations really do make you do a lot of hard work. This is all a bit of a hack now, and at some point should really be cleaned up. But for the moment, it works.