Move customer link logic to its own class