Adapt imports, metadata, and tests for the github move