Migrate cloud project to local

This PR supports migrating a cloud project to the local system.