Third version of smart schedule

We fixed the bugs we have in the adding event and showing calendar. We
are pretty close to finish with adding class function. Planning to do
the weather update.