made db connection configurable via env