Added Jframe and event handler framework