WIP PV Prototype

Not for merging -- posting here for @keflavich @astrofrog to play with