Move Key creation to KeyFactory. Remove /build dirs.