refactor add mongolab db management