Updated the licence.
First version of the code.