textbox/buttons styled and event listeners added