Measurement-Based Quantum Foundations