An Automated C++ Code and Data Partitioning Framework for Data Management of Data-Intensive Applications