add index and detail page
Merge branch 'indexView' into dev