Implementing common Connection class in progress