Change webhandler to use new module dbHadler and tempPlot