More refactoring

Separated configuration header file from main.
Separated sample sensor task from main
Update HC.htm for better highchart looking