Added a counter class, flinging us into a world of OO...