add base fragment and xml for all the fragments.