Added .gitignore
Removed short array syntax to be pre php 5.4 compatable