Added Index.
Fixed config and added pages.