export the Button class so that we can use it in plugins