add new download interface and cofig.