main.java

declare the variables and get all the layout in the variable