migrate some common features into to d-p-platform

This commit mainly strips out things that have been added to d-p-platform