some DBN and MLNNBase refactoring of interfaces