Make TTL configurable from the CLI

Fixes #2
Merge pull request #3 from nathan7/cli-ttl

Make TTL configurable from the CLI