Need to cleanup the select all statements, can now read and write from database. Still need to figure out error handling