Cleanup project directories and namespaces.