updates - code import

Log refactoring
Temperature sensor data in double
Added NTP client