created model and added afnetworking