Added player code that handles both Ca and CPm simulation with CPM replays.