Added Logging Option. Logging of Exceptions is now done via AELogger
and all the stuff I did that i forgot to comment.