added license to top of php files