Refactor static class and inject it