added ttl support
updated readme
updated package.json