refactored the code to automatically detect and record from all the cameras.
by default it creates a folder, pictures and videos of movements during run.