create a vector button class