Add CommandLogger class