Cleans layout. Adds index.html contents.