Cleaned up MainActivity

Made it easier to read
Added comments
Removed old/junk code