Added dependency injection to web project and converted domain classes to use it.