added footer, made 1.html index.html, fixed pagination