Introduced StructureMap as Dependency Injection Framework. Refactored most of the classes.