moved NSURLSession to data model