Added index.html
Changed to output buffer
Changes to respond()