Move set and counter implementations to separate files