def component(name)
      components.each { |c| return c if c.name == name.to_sym }
      return nil
    end
def component(name)
      components.each { |c| return c if c.name == name.to_sym }
      return nil
    end
fetch a component given the name
 this is most useful for getting a component directly if you want to make modificatins to it