Update MainApp.java

Added a short explanation of the application's logic.
Merge pull request #18 from pitsios-s/patch-1

Update MainApp.java