add afnetworking and update structure