Moved and refactored logic. Webserver logic now working if no DGT board