Added get total pages task for pagedscrolladapter. Cleaned up a lot of tasks. Improved NetworkControl