refactoring rename, remove mongodb config and test