Proof of Concept code for a fully working Freedomotic Thing (Object) to be used almost everywhere