Some refactoring / using RingBuffer / Getting rid of Processing dependencies