Move php/index to views/index

* Use it as a template
Fix whitespacing
Use Post instead of GET
Update readme
Remove execute on files