move rename ringbuffer to ring, add doxygen