added external db connect file (so it's not in the main file)