Refactor
Refactor
Support remote path with query parameter
Merge pull request #23 from t32k/refacotr-20140319

Refactored.