Licence changed to GPLv3,
Some comments changed