open and save DB infrastructure