KAZOO-2278: Organized the deep links code