added Order and HistoryTableModel and a little in HistoryTab