Added sample main activity.