Added license information to top of php files, added LICENSE.txt