added a new base class for a class that connects to DB server with username, password and so on.

Basic code is copied from DBClientConfig. We'll use this class
for DBClientConfig and DBClientAction as a base class.