extract videos definitions to own class