add basic class migration