put api loading into specific method
Merge pull request #322 from ruijunhuang2010/master

put api loading into specific method