Button class implemented.