major restructuring (linked new repository library with harvester and ingester) - not proven yet, and plenty of dead code to remove