* Added migration file
* Fixed minor errors