main activity and buttons.

created main activity and added functionality to buttons.