Use central registry instead of multiple static variables and remove vfsStream