created model, migration and spec files