Creating button class