some small fixes
add memory backed cache, fix some namespaces
update build system