Added the DP and related functions to planner
Need to fix and test compilation