refactored reporting service and removed azure dependency from core