Reworked UI, added unit test for RecordTableModel