add new log feature: refactored main activity into small digestible methods; Todd #githappy