the name database is now a class (untested), which includes additional functionality