Add connection configuration and abstraction layer