Added UI-components

Made a counter-class for the UI.