Added a service for database statistics; added the necessary db tables