Added baudrate calculation.
Added Log class. No mutexes, flags for synch.
Fixed Log class. Working version without mutexes but with volatile flags
Merge branch 'optFix' into dev