added primitive routing and the initial pages