completely overhauled routing, replaced frontend routing with polaris