Architecture for the Metaverse