A Tannakian context for Galois theory