The Komoot app was recommended to me by a cycling friend for what you describe, but I haven't tried it. I use RideWithGPS web site, then down load. Komoot lets you do route discovery from the app, but apparently cumbersome to manually edit the route on the app.