moved index and added display page

replace doesn't quite work still