Updated App.java and AppTest.java with additional comments according to the ruberic.