Refactoring and Command Line Arguments

Changed the code so it’s divided into more functions.

Added command line arguments for time interval and output directory.
Refactoring of makevideo.py

Added Comman Line Argument Support