Refactoring code.
Fix TTL.
Refactoring package.json.
Update readme.