Refactored: moved main activity inner classes to separate files.