Function added to check if database is reachable before MainWindow starts
Added iTextSharp to Project