public static void main(String[] args) throws StaleProxyException {
		
		Runtime rt = Runtime.instance();
		Profile p = new ProfileImpl();
		
		//AMS and DF Agents 
		ContainerController mainContainer = rt.createMainContainer(p);
		
//		System.out.println("Registered Auctions:");
		
		for (int i = 0; i < totalAuctioneers; i++){
			Object[] auctioneerArgs = new Object[1];
			auctioneerArgs[0] = "AUCTION " + (i+1);
			
			mainContainer.createNewAgent("Auctioneer " + i, "agents.Auctioneer", auctioneerArgs).start();
		}
		
//		System.out.println("Registered Bidders:");
		
		for (int i = 0; i < totalBidders; i++){
			Random n = new Random();
			int random = n.nextInt(5000) + 1;
			
			Object[] bidderArgs = new Object[2];
			bidderArgs[0] = "bidder " + (i+1);
			bidderArgs[1] = random;
	        
			mainContainer.createNewAgent("Bidder " + i, "agents.Bidder", bidderArgs).start();
		}
		
		AgentController gui = mainContainer.createNewAgent("rma", "jade.tools.rma.rma", null);
		gui.start();
	}