Cleave MainActivity into Scanner and Reporter classes.

Separate UI, scanning, and reporting code into three different classes. No major functional changes.