Moyal Formulation of Quantum Mechanics