Refactored app to automatically choose quantification mode based on state of individuals orbit.