Connect class