(limited) Java implementation for the timetables