@WhitAngl Do you know anything about Frobenius theorem? Please take a look at this
en.wikipedia.org/wiki/… Later I will try to spend some time on it to understand how it works. Basically, the theorem states that vanishing of the brackets means that one can "integrate" the frame and obtain a submanifold for which it is a coordinate frame.