Adding base classes for domain objects.
Adding factory for connections.