Class base + Connection Factory