support for monthly reports, fixed some sinatra related issues with stats