Refactor routes, add tagging sidebar