unified all database and elasic search interface via acces.py.  mm_web.py and mm_docprocessor.py are unfinished