Implement rudimentary queue and avg calculator.

I really hope this isn't complete rubbish :sweat_smile:.
Usually you don't include the `for` prefix, `channel` would be enough.