Set up hosting single fragment in main activity.