An Algebraic Approach to Quantum Field Theory