public Shell()
    {
        env = new EnvironmentImpl();
        defaultId = "User";
        inReader = new InputStreamReader(System.in);
        bufReader = new BufferedReader(inReader);
        fileManager = new FileManager();

        contentArchiveDir = new File(contentDirectoryPath);
        if (!(contentArchiveDir.exists() && contentArchiveDir.isDirectory()))
        {
            contentArchiveDir.mkdir();
        }

        try
        {
            nodeCounter = new File(nodeCounterPath);
            if (!nodeCounter.exists())
            {
                nodeCounter.createNewFile();
            }
        }
        catch (IOException ioe)
        {
            System.out.println("Error while loading shell settings ");
            System.exit(-1);
        }
    }