clean up migrations, set up votes and stype relationships