You can add an "UVW Map" modifier to the whole object and there is an option for adding planar mapping to each face.It will be the "face" radio button.
Once the mesh is split into groups, isolate the border edges and hit the Tools: Geometry: Crease button. They should then hold their position when subdividing.