Migrate copy and data fab commands in modules. Closes #357.