Initial stab at a migrate command, it's probably quite a way off.