give RingBuffer its own source file and no longer export it via index.js