Added Logger class so logging is easier