TimeFrame class added