Applied GPL to code

Applied GNU General Public Licence to current code