OK, so even if a certain database do not exist, the "mongo clean.js" seem to return 0 exit value, so we do not need to check if a database namespace file exists (as was done earlier).

so I suggest, to refactor lines 89-96 into a function "update_db" which will be also used to initialize keyword search data. will do this now.