Added function keyword, changed copyright and added .gitignore
Updated license header as per GNU guidance
Added full text of license (LGPL) + full text of GPL as it depends on it