Creating library fragment/activity.