Finished abstraction of example program

Can now start adding transport layer etc.
Will come back later to fix all the static stuff. The Yoctopuce
supplied library has a significant design flaw in that it does not
accept a void* for user data into its callbacks. I will dig into their
library at some point to fix it.