create stats controller and index route. will need the rest of the info for graph widgets