Added licence and licence headers.