Added ring buffer code.
Ring buffer code built.