use map to track stat commands

Seems like a major API change since we're changing a public field on a public struct (StatsClient.Commands)