build button base class