Endogenous control in a ternary lotka-volterra model and its applications