starts pluggable cache backend api and general code cleanup