added environment config for statistics
added class for providers