Added init code to App.java