Remove Logger from configuration.py and add Python 3 compatibility