First working version of migration wizard