added the license text to top of php files