Added a fragment pager adapter and things.