creating video class