Adding ExceptionManager.cs (not finished)