routes architecture