Backend Java code of the Conquest engine