Adds migrations
Fixed some dumb ideas