Zaslat SMS: Geometric formulation of classical and quantum mechanics