added video resource logic for model view and controllers