fixed associations, migrations, and started transferring validators to classes