tidied migrations, added attribute and field models for data