keys initiated into mongo (file or string); other fixes