Text this: The general structure and ergodic properties of quantum and classical mechanics: A unified C*-algebraic approach