New migration system debugging. Should be all working now. Except for modules. Still need to make that work....