On-the-fly data manipulation framework