Renewed infrastructure with namespaces and device factory