Copy and paste codes from the closed PR.
Removed unnecessary string
Merge pull request #5 from yelinaung/offline

Offline support.