Refactor import and timetable window js into separate files from tournament.js