Encapsulated the kinetisense reading routines and associated data in its own class 'fio' and updated the main and example files to reflect this.