Reworked DAO. Added general read() and delete() methods.