begin netbeans project transfer.
Define necessary (speculative) classes for java implementation of full-featured version.