Add License and update dap1 sample.