add initial stages of route inheritance. still needs templates