public static void main(String[] args) {
		try {
			logger.info("Starting the data provider.");
			
			String path  = "C:\\DataCommons\\Data";
			String domain = "idd:boom.org:boomid";
			String contributorName = "BOOM";
			int port = 9091;
			
			logger.info("Provider data path: " + path);
			logger.info("Provider domain: " + domain);
			logger.info("Provider contributor name: " + contributorName);
			

			Contributor cont = new Contributor(contributorName, domain);
			SubjectCollection coll = new SubjectCollection(cont, path, port);
			
			coll.start();

			int val = 0;
			do {
				System.out.print("To quit type (q): ");
				val = System.in.read();
			} while(val != 'q');
			
			coll.stop();
			
		} catch(Exception e) {
			logger.error("Top level error occured.", e);
			System.err.println("Error: " + e.getMessage());
		} finally {
			logger.info("Exiting the data provider.");
		}
	}