Refactoring registration, cache uses php namespaces, removed cache factory and cache registry

Signed-off-by: Alexander Book <redchrome@gmx.de>