Added routing and detail view.