Move licence notice to the top of the file