Added css and some report calculations to the view