Update index.php

Re-factored menu, added links and counter code. Added MIT blurb.