Base quiz framework