Implemented database open helper