setting up json view controllers