Added average stream

Renamed the co-routine decorator to 'stream'. Added a basic averaging
decorator.