Set up index and initial routes