adding configurable connection for db and timeout string