DB storage added.

Data gets stored on last reading daily