Stats controller

Used to get statistical data for the front end framework