fix the WarDB class.
fix some error in the original project.
added TODO just for vova - where to call the show statistics with time params.