refactor dbmanager.docs to dbmanager.classes
work on DocumentManager
made dispatcher use new DocumentManager
refactor .docs to .classes