Optimize application logic

Define all earnings logic in README.
Implement radio button to get selected value.