added a template class for our videostreamer