Added main layout and Java activities.