add dvr framework