Test for EThermo working

Test for EThermo working,
Moving code to EThermo.h, EThermo.cpp
Moving #define's to Event.h
Sample ok with case 1, not so fine with Case 2