Added logger configuration file.
Improved the way it gets new messages.