Replaced basic component with counter

In order to play around with events and state I created a simple counter which increments on the click of a button.