refine initialize
update samples and mv to examples