Naive routing with no external dependencies