added view controller and network controller