DocTypes to IContentTypes

upgrade of DocTypes to use the v6 API (not yet v7 )