Created tables for display, add database exception handling, refractor insert and read.