[vdr] Writing a VDR frontend