Re-organize code in a class. Save video with name_date_quality. Add a keep-artifacts option to save debug files