Fixed VideoViewer scaling

added db-backed thumbnail support for video
laid foundation for additional custom viewer types