Add connection and thread pool abstract classes as the interfaces.