created a generic migration class for parallel migrations.