Structure implemented to work wih dependency injection