Fiddled around in counter class, added getters and setters