Change name of main exception, added enum for equilibrium selection