added TreeApp.java