added gitignore and ignore the .idea directory
created index.php and moved code into that.
Merge branch 'develop'

Conflicts:
	.idea/vcs.xml
	.idea/workspace.xml