Refactor ds18b20 code

Move db18b20 call to own header file