Logic which will handle the reading from the sensors. Not finished. There is a lot of things to do