Delegation for event loops and counters based on them


This adds a simple mechanism to build counters and event loops.