Transfers all synchronising functionality to java-tools, creates a
working command line.