Major PDBnet refactoring to handle large files.