Moved index to www so that we can split php from java more easily