Separate definition USR database with reference USR database.
Refactoring.
Reuse opened database pointers to reduce time to reopen the databases.