getting rid of testing code
change code to work with php on server
change code to work on server
Merge pull request #2 from matthew-chell/dev

*getting rid of testing code
*change code to work with older version of php on server
*change code to work on server