Priya

@mpetrovic
Made the following changes:
a)added code to check the db for 'today's data. If not available, get from webservice. Also get refreshed data from webservice after every hour
b)added code to calculate time difference between now and the time the data was entered in the db