Updates to licence and source code