Added timetabling data classes and passing of database data to them.