added score display and reset button, some restructuring