Added support for retrieving min, max from db. Bug fixes in ds18b20 and included these sensors in main