Got basic UI and event handling done