removed template specialization on some parts of the ring buffer, overflow flag does not work anymore...
added a transfer class that stores trasfer parameters