Added migrations and some comments