pack ui to a component
Change WordInputCOmponent to an Actionlistener