move helper functions to seperate header file
add basic implementation
add basic simulation
cleanup names
implement slow UpdateSensor
move helper functions to own file