add configuration options for connecting to remote dbs

Signed-off-by: free-walker <wally.1981@yahoo.com>