Add license file and sample code