ADD: sample generator and change api to use sample repo