re-organize dependencies and dependencyManagement.