Create MainActivity.java

This is a main class of project.