Removed unused import
Removed all the useless ringbuffer implementations.
Added ringbuffer docs to doc.