Add new headers and refactor

Moved dht11 functions into own header, moved some custom functions into
separate header