Updated timed-buffer

Switched timed-buffer to use the prototype pattern as it is likely to be
instantiated multiple times.