Adding basic DP class