GPL License

I added the GPL license to the major php files to comply with Moodle
standards.