Set up app controller to return two-dimensional array