Added global exception handler to Program.cs