button: new class to manage button inputs
inputs: make use of new Button class