code: @Override
  	public void setDefaultName(String mname) throws Exception
  	{
  		if (mname == null)
  		{
  			defaultModule = AstFactory.newAModuleModules();
  		} else
  		{
  			for (AModuleModules m : modules)
  			{
  				if (m.getName().getName().equals(mname))
  				{
  					defaultModule = m;
  					return;
  				}
  			}
  
  			throw new Exception("Module " + mname + " not loaded");
  		}
  	}
docs: Set the default module to the name given.
  
  @param mname
  The name of the new default module.
  @throws Exception
  The module name is not known.