Refactored the eventlogging. Moved the if-sentence that checks if the Event Log source exists to the EventLogging class instead of the program.cs.