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

Indentation makes this confusing. Generally, anything in the same block should be on the same vertical line. For instance,
```php
$i =5;
$j = 0;
$k = 'string';
if ($i > $j) {
    $k = 'not a string';
}
$soOn = 'and so forth';
```

I wasn't sure if the } on 78 was a mistake or not because of this.