Add download API for gopm