add main activity.