Foundations of Galois Theory