Created the index page, and altered a lot of everything else to make it be okay. Termination stuff not fully tested.