Added some error checking for adding classes to db
Added a 'delete selected entries' fragment that is unfinished. Currently
supports deleting an individual row ID for now.