Statistical Inference for MOdular NEtworks (SIMoNe)