Initial commit of the dvr library.