correctly separate out server interfaces.  added compile flag ALGO1_NANDSIM_HACK