fix duplicate refresh event
better file structure
comments
Error handling and added 10 seconds timeout
update readme and change log, bump to 1.0.13