Open Quantum Systems : Foundations and Theory