Refactors and organization; writing process file for VPD.