Moved generation of dvds into controller