added startings of document manager