Refactored code to cleanup MainActivity. Created a few classes to
organize application