Dynamics of Smart Structures