making include files etc and attempted fix of timetable pref layout