Added application wide event listeners for database and file system catches.