Quantum Theory as an Emergent Phenomenon