refractor name space for db