The Totem framework