aded cache API
cache layer separated
added dns config retrieval by TXT records
document cache design
Updated docs, minor bugfixes