Extract the configuration and sensor helper methods

Factorise code related to the configuration into a dedicated class.
The helper methods to read the sensor value belong to another dedicated class.
No need to initialise a byte array to 0's as it is the default value already.

Change-Id: Ib4127ed98ec7656254d870fd78ed7ce32ef45769
4 files changed