Control Panel: refactoring of migration