Summary: This moves some things around in order to facilitate adding the migration command in a separate file. Reviewed By: bolinfest Differential Revision: D7946842 fbshipit-source-id: 54a554fb02e83a12f1d626b81377bc042fac41aa