Added switch for table view, place holder for table view cell and array, and the retrieval of friends in json format.