Added: logger class