Started working on the index page.

There are still some bugs.