Modified app.java and finding contructor