public static void main(String[] args) {
		if (args.length < 1) {
			usage(); return;
		}
		
		String[] newargs = Arrays.copyOfRange(args, 1, args.length);
		
		// java fortunately supports switching string, ... wait, it doesn't
		String mainclass = args[0].toLowerCase();
		if (mainclass.equals("client")) {
			Client.main(newargs);
		} else if (mainclass.equals("tracker")) {
			RunTracker.main(newargs);
		} else if (mainclass.equals("torrent")) {
			MakeTorrent.main(newargs);
		} else {
			usage(); return;
		}
	}