set up controller
server side rails does heavy alogorithm calculation of projections