Create examples of class that creates an instance for a button