added migartions for tables, created models