added delete function, background image in table, created read and write functions