Added comments for the TextUI