Created MainActivity.java

Controls logic for Main Activity