added fast digital library
fixed a ringbuffer bug
changed the protocol