Design by Extension and Inheritance of behavior in Dynamical Systems