(1) Add one function overload for GetDBRecord
(2) Change oldDb connection open/close. Previously oldDb is open when database is loaded. Now every query will open it then close it.