Component-based structure for 6DOF AUV control