Adding main activity.