significant refactor: remove logging, add config-cache support
add cache-config script and kernel script