Moving more PDO stuff to PDO classes. Putting InstancedValues in a better place.