Base connection class

This determines at the moment what we need in order to establish a connection.