Main and pager fragments functionality done