Setting up the router to load files at the index