Deep linking

Changing the route initialization to allow deep linking.