Major changes

Rewritten sql handler
Completed WeekdayData