Merged TTL support
logging tweaks
renamed config
refactoring