Added licence file and licence headers