Added the Closable interface
Changed how the classes are connected during initialisation
Made the iterator respect deleted records