seems we call it embedding api, not embedded api. we'd better to have another name. maybe sample is enough. and then we'll have a core/ subdirectory.
@wang16 @xingnan  your thoughts?