Added TTL (set + report)
Some refactoring