Straight forward (non-optimised) implementation of the PDB library, backed by Scala's immutable data structures.