released some product apis
refactor code