support multiple cameras and bug fix

multiple cameras supported now; just add more cameras in the config file

bug fix: if device is down when trying to connect; script will rety
every 1 minute
new config format (for multi cameras)