added a migrate management command and also added the files that actually
contain this branch's modification...