working on click events
moved stack implementation to cpp file
added mouse button handling