add DB, FragmentMainActivity

DB class for database
FragmentMainActivity class for FragmentPagerAdapter, which used by
ViewPager