Added migrations and some things