Wrapped static class in an instance to be used in ioc container