140604 Updating data structure for analysis

Modified, DayClass.span and DayClass.duration
Building analysis module