Revert "Revert "Prep for different ring buffer implementation""

This reverts commit 1309c33accb0003c882aa29afbc331c62d7627df.
Revert "Revert "Sequential implementation of RingBuffer""

This reverts commit a0586b806ca880bb6d39eb7d1cccd2759f80992b.
Revert "Revert "Style""

This reverts commit 99e56b8e7102c374ee41c96ffa555774c029f76d.