adds root route and index view