added source for a class to handle video recording
make rules for new class to handle video encoding