[Refactoring] Connection class created.