breakout PagerAdapter and Fragment class from MainActivity