added namespaces to session file, added base loader class, removed unused registry.