Added an index page. Some minor bugfixes