corrected bug when checking date interval
Refactoring for allowing only one ftp connection at a time
Adding main.py for launching script
Handling new exceptions