Add new staging code for FLEXPATH method
Add write part for Flexpath staging
Merge branch 'master' into HPCA