UDARMF: An Underwater Distributed and Adaptive Resource Management Framework