First working version
Have some remarks on the transfer uart (some packets have bugs)