refacotring - makes now better use of mongo's features. All documents in store now have a dict of meta infos.