refactoring pd: far more flexible and elegant table-reading from list, seq, more modular towards a global system.