The Creation of Mechanisms According to Kinematic Structure and Function