start rewriting of timetable component with KISS principes and better declaring functionality of each component