Add simple CRC16 function, for later checksumming of messages.
Minimal changes to be able to communicate with the newest slave code.
Setup a 64-bit timer to count millisecond time.

Also some incomplete code towards device discovery and polling.
Implement simple timeout when receiving from a slave device.
Implemented some discovery/poll code (not yet tested).